app.service("sellerService",function ($http) {
    //添加商家
    this.addSeller=function (seller) {
        return $http.post("./sellerController/addSeller.do",seller);
    }
    //查询商家信息
    this.findOneSeller=function () {
        return $http.get("../sellerController/findOneSeller.do");
    }
    //更新商家信息
    this.updateSeller=function (seller) {
        return $http.post("../sellerController/updateSellerInfo.do",seller);
    }
});